package com.ruoyi.common.enums;

import com.ruoyi.common.annotation.Excel;

/**
 * @author Yuan
 * @description
 * @date 2022/9/8 22:38
 */
public enum AttendanceField {

    OVERTIMEHOUR("OVERTIMEHOUR","加班时长"),

    /** 事假时长（小时） */
    PERSONALLEAVETIME("PERSONALLEAVETIME","事假时长"),

    /** 病假 */
    SICKLEAVE("SICKLEAVE","病假"),

    /** 哺乳假 */
    BREASTFEEDINGLEAVE("BREASTFEEDINGLEAVE","哺乳假"),

    /** 年假 */
    ANNUALLEAVE("ANNUALLEAVE","年假"),

    /** 婚假 */
    MARRIAGELEAVE("MARRIAGELEAVE","婚假"),

    /** 产假 */
    MATERNITYLEAVE("MATERNITYLEAVE","产假"),

    /** 看护假 */
    LOOKAFTERLEAVE("LOOKAFTERLEAVE","看护假"),

    /** 丧假 */
    FUNERALLEAVE("FUNERALLEAVE","丧假"),

    /** 育儿假 */
    PARENTALLEAVE("PARENTALLEAVE","育儿假"),

    /** 护理假 */
    NURSINGLEAVE("NURSINGLEAVE","护理假"),

    /** 节育假 */
    BIRTHCONTROLLEAVE("BIRTHCONTROLLEAVE","节育假"),

    /** 调休 */
    TAKE_WORKING_DAYS_OFF("TAKE_WORKING_DAYS_OFF","调休"),

    /** 其他 */
    OTHER("OTHER","其他")
    ;

    private String code;
    private String description;

    AttendanceField(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
